﻿@using Webdiyer.WebControls.Mvc
@model  PagedList<MvcWeb.ViewModels.Inventory.InventoryCateDetailViewModel>
@{
    ViewBag.Title = "资产盘点汇总";
}
@if (false)
{
    <script src="../../Scripts/jquery-1.5.1-vsdoc.js" type="text/javascript"></script>
}
<div style="padding: 5px 10px;">
    <input type="button" onclick="history.go(-1)" value="返回资产盘点列表" class="btn_green" />
</div>
<div style="padding: 0px 10px; margin-bottom: 5px;">
    
</div>
<div style="padding: 0px 10px;">
    <table class="tb" width="98%" style="text-align: center;">
        <tr>
            <th>资产分类名称</th><th>总数量</th><th>原总金额</th><th>总金额</th><th >库存数量</th><th valign="top">库存金额</th>
            <th>使用数量</th><th>使用金额</th><th>报废数量</th> <th>报废金额</th><th>销毁数量</th><th>销毁金额</th> 

            <th>赠送数量</th><th>赠送金额</th><th>盘点数量</th> <th>盘点金额</th><th>盘盈数量</th><th>盘盈金额</th> 
            <th>盘亏数量</th><th>盘亏金额</th> 

            							

        </tr>
        @foreach (var m in Model)
        {
            <tr>
                <td>@m.CategoryName</td>
                <td>@m.CategoryAllCount</td>
                <td>@m.CategorySourceAllMoney</td>                
                <td>@m.CategoryAllMoney</td>
                <td>@m.CategoryStoredCount</td>
                <td>@m.CategoryStoredMoney</td>
                <td>@m.CategoryUsedCount</td>                
                <td>@m.CategoryUsedMoney</td>
                <td>@m.CategoryWorthlessCount</td>
                <td>@m.CategoryWorthlessMoney</td>
                <td>@m.CategoryDestoryCount</td>
                <td>@m.CategoryDestoryMoney</td>
                 
                <td>@m.CategoryPresentCount</td>
                <td>@m.CategoryPresentMoney</td>

                <td>@m.CategoryInventoryCount</td>
                <td>@m.CategoryInventoryMoney</td>

                <td>@m.CategoryInventoryAddCount</td>
                <td>@m.CategoryInventoryAddMoney</td>

                <td>@m.CategoryInventorySubCount</td>
                <td>@m.CategoryInventorySubMoney</td>
            </tr>
        }

        <tr>
            <td colspan="15" style="text-align: left;">
                 
                <div style="float: right;">
                    @Html.Pager(Model)
                </div>
            </td>
        </tr>
        
    </table>
</div>
 